package org.bud.rung.bit.cron;

/**
 * @author shaun
 * @date 2024/8/11
 * @instruction
 */
public class CronDigit implements CronType {
    private Integer start;
    @Override
    public void init(String cron) {
        start = Integer.parseInt(cron);
    }

    @Override
    public Integer start() {
        return start;
    }

    @Override
    public Integer step() {
        return 0;
    }

    @Override
    public boolean isAdder() {
        return true;
    }
}
